package com.monitor.entity.response.sedimentResponse;

import com.baomidou.mybatisplus.annotation.*;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.monitor.entity.pojo.BaseEntityPojo;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

/**
 * 渣土车信息.
 *
 * @author Li Zhiyuan
 * @since 2020-11-18
 */
@Data
public class SedimentResponse extends BaseEntityPojo {
    @TableId(value = "id", type = IdType.INPUT)
    private Long id;

    @DateTimeFormat(
            pattern = "yyyy-MM-dd HH:mm:ss"
    )
    @JsonFormat(timezone = "GMT+8",
            pattern = "yyyy-MM-dd HH:mm:ss")
    private Date createTime;

    /*车牌号码*/
    private String licensePlate;
    /*车头照片*/
    private String frontPhoto;
    /*车身照片*/
    private String bodyPhoto;
    /*出入口拍照（0是入口1是出口）*/
    private Integer mouth;
    /*项目名称*/
    private String entryName;

}
